import {requerst} from './request'

export function getdetaillist(movieId) {
    return requerst({
        url:'http://39.97.33.178/api/detailmovie',
        params:{
            movieId
        }
    })
}


//1.对整个数据进行整合 面向这个对象开发展示数据就好 通过new 传递值进来 构造函数接收 商品基本的信息
// export class detailMovie {
//     constructor(detailMovie) {
//       this.nm = detailMovie.nm
//       this.enm =detailMovie.enm
//       this.sc = detailMovie.sc
//       this.cat = detailMovie.cat
//       this.dur =detailMovie.dur
//       this.pubDesc = detailMovie.pubDesc
//       this.dra = detailMovie.dra
//       this.photos = detailMovie.photos
//     }
//   }
  